﻿using Awsc.DataAcquisitionSys.Core.Model.Config;
using Awsc.DataAcquisitionSys.Core.Models.POCO;
using MediatR;

namespace Awsc.DataAcquisitionSys.Core.Messages
{
    public record AddCollectorMessage(CollectorConfig Collector) : INotification;
    public record RemoveCollectorMessage(CollectorConfig Collector) : INotification;
    public record AddSensorMessage(SensorConfig Sensor) : INotification;
    public record UpdateSensorMessage(SensorConfig Sensor) : INotification;
    public record RemoveSensorMessage(SensorConfig Sensor) : INotification;

    public record MissionStartMessage(Mission Mission) : INotification;
    public record MissionStopMessage(Mission Mission) : INotification;
}
